package com.zuoshen_algorithm;

import java.time.LocalDateTime;

/**
 * 项目名称: java_algorithm
 * @ClassName Util
 * @Description
 * @Author huipanxing huipanxing@chinasofti.com   @Date 2021/12/22 15:49
 */
public class Util {

    public static  void swap(Integer[] num,int i,int j){
        num[i]=num[i]^num[j];
        num[j]=num[i]^num[j];
        num[i]=num[i]^num[j];
    }

    public static void printArray(int[][] array) {
        for (int i = 0; i < array.length; i++) {
            for (int j = 0; j < array[0].length; j++) {
                System.out.print(+array[i][j]);
                System.out.print("\t");
            }
            System.out.println();
        }
    }

    public static void main(String[] args) {
        LocalDateTime ds=LocalDateTime.MIN;
        System.out.println(ds);
        System.out.println(LocalDateTime.now().isAfter(ds));
    }
}
